package com.ruoyi.system.service;

import com.ruoyi.common.core.domain.entity.AiRecordingDuan;
import com.ruoyi.common.core.domain.entity.CustomerCountTwoVo;
import com.ruoyi.common.core.domain.entity.CustomerCountVo;
import com.ruoyi.common.core.domain.entity.CustomerInfo;

import java.util.List;


/**
 * 客户数据Service接口
 *
 * @author ruoyi
 * @date 2025-03-09
 */
public interface ICustomerInfoService
{
    /**
     * 查询客户数据
     *
     * @param id 客户数据主键
     * @return 客户数据
     */
    public CustomerInfo selectCustomerInfoById(Long id);

    /**
     * 查询客户数据列表
     *
     * @param customerInfo 客户数据
     * @return 客户数据集合
     */
    public List<CustomerInfo> selectCustomerInfoList(CustomerInfo customerInfo);


    public List<CustomerInfo> selectCustomerInfoListPermission(CustomerInfo customerInfo);

    public List<CustomerCountVo> selectCustomerInfoListZong(CustomerInfo customerInfo);

    public List<CustomerCountVo> selectCustomerInfoListIndustry(CustomerInfo customerInfo);

    public List<CustomerCountTwoVo> selectCustomerInfoListProduct(CustomerInfo customerInfo);
    public List<CustomerCountTwoVo> selectCustomerInfoListHindrances(CustomerInfo customerInfo);



    public List<CustomerInfo> selectCustomerInfoListPage(CustomerInfo customerInfo);


    public CustomerInfo selectCustomerInfoByIdAn(Long customerId );


    /**
     * 新增客户数据
     *
     * @param customerInfo 客户数据
     * @return 结果
     */
    public int insertCustomerInfo(CustomerInfo customerInfo);

    /**
     * 修改客户数据
     *
     * @param customerInfo 客户数据
     * @return 结果
     */
    public int updateCustomerInfo(CustomerInfo customerInfo);

    /**
     * 批量删除客户数据
     *
     * @param ids 需要删除的客户数据主键集合
     * @return 结果
     */
    public int deleteCustomerInfoByIds(Long[] ids);

    /**
     * 删除客户数据信息
     *
     * @param id 客户数据主键
     * @return 结果
     */
    public int deleteCustomerInfoById(Long id);
}
